const { ccclass, property } = cc._decorator;

@ccclass
export default class SettingPage extends cc.Component {
    @property(cc.Node)
    SettingPage: cc.Node = null;
    @property(cc.Node)
    page_bg: cc.Node = null;
    @property(cc.Node)
    title: cc.Node = null;
    @property(cc.Node)
    centerBg: cc.Node = null;
    @property(cc.Node)
    node_top: cc.Node = null;
    @property(cc.Node)
    spr_head_bg: cc.Node = null;
    @property(cc.Node)
    mask: cc.Node = null;
    @property(cc.Node)
    spr_head: cc.Node = null;
    @property(cc.Node)
    set_head_bg: cc.Node = null;
    @property(cc.Node)
    nameNode: cc.Node = null;
    @property(cc.Node)
    label_name: cc.Node = null;
    @property(cc.Node)
    idNode: cc.Node = null;
    @property(cc.Node)
    label_id: cc.Node = null;
    @property(cc.Node)
    node_center: cc.Node = null;
    @property(cc.Node)
    music_item: cc.Node = null;
    @property(cc.Node)
    label_des: cc.Node = null;
    @property(cc.Node)
    spr_music_on: cc.Node = null;
    @property(cc.Node)
    sound_item: cc.Node = null;
    @property(cc.Node)
    spr_sound_on: cc.Node = null;
    @property(cc.Node)
    shake_item: cc.Node = null;
    @property(cc.Node)
    spr_shake_on: cc.Node = null;
    @property(cc.Node)
    recon_item: cc.Node = null;
    @property(cc.Node)
    spr_recon_on: cc.Node = null;
    @property(cc.Node)
    panels: cc.Node = null;
    @property(cc.Node)
    view: cc.Node = null;
    @property(cc.Node)
    content: cc.Node = null;
    @property(cc.Node)
    yonghu_item: cc.Node = null;
    @property(cc.Node)
    spr_jt: cc.Node = null;
    @property(cc.Node)
    yinsi_item: cc.Node = null;
    @property(cc.Node)
    server_item: cc.Node = null;
    @property(cc.Node)
    about_item: cc.Node = null;
    @property(cc.Node)
    node_down: cc.Node = null;
    @property(cc.Node)
    btn_logout: cc.Node = null;
    @property(cc.Node)
    btn_loginout: cc.Node = null;
    @property(cc.Node)
    btn_close: cc.Node = null;

    onLoad() {
        this.SettingPage = this.node;
        this.page_bg = this.SettingPage.getChildByName("page_bg");
        this.title = this.page_bg.getChildByName("title");
        this.centerBg = this.page_bg.getChildByName("centerBg");
        this.node_top = this.page_bg.getChildByName("node_top");
        this.spr_head_bg = this.node_top.getChildByName("spr_head_bg");
        this.mask = this.spr_head_bg.getChildByName("mask");
        this.spr_head = this.mask.getChildByName("spr_head");
        this.set_head_bg = this.spr_head_bg.getChildByName("set_head_bg");
        this.nameNode = this.node_top.getChildByName("nameNode");
        this.label_name = this.nameNode.getChildByName("label_name");
        this.idNode = this.node_top.getChildByName("idNode");
        this.label_id = this.idNode.getChildByName("label_id");
        this.node_center = this.page_bg.getChildByName("node_center");
        this.music_item = this.node_center.getChildByName("music_item");
        this.label_des = this.music_item.getChildByName("label_des");
        this.spr_music_on = this.music_item.getChildByName("spr_music_on");
        this.sound_item = this.node_center.getChildByName("sound_item");
        this.spr_sound_on = this.sound_item.getChildByName("spr_sound_on");
        this.shake_item = this.node_center.getChildByName("shake_item");
        this.spr_shake_on = this.shake_item.getChildByName("spr_shake_on");
        this.recon_item = this.node_center.getChildByName("recon_item");
        this.spr_recon_on = this.recon_item.getChildByName("spr_recon_on");
        this.panels = this.page_bg.getChildByName("panels");
        this.view = this.panels.getChildByName("view");
        this.content = this.view.getChildByName("content");
        this.yonghu_item = this.content.getChildByName("yonghu_item");
        this.spr_jt = this.yonghu_item.getChildByName("spr_jt");
        this.yinsi_item = this.content.getChildByName("yinsi_item");
        this.server_item = this.content.getChildByName("server_item");
        this.about_item = this.content.getChildByName("about_item");
        this.node_down = this.page_bg.getChildByName("node_down");
        this.btn_logout = this.node_down.getChildByName("btn_logout");
        this.btn_loginout = this.node_down.getChildByName("btn_loginout");
        this.btn_close = this.page_bg.getChildByName("btn_close");
    }
    
    // ...
}

